﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Main.Master" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="Bootstrap.Demo.WebForm1" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <script>
        $(document).ready(function () {

            $('#ModalClose').click(function () {
                $('#myModal').toggle();
            });
        });

        onThumbnailClick = function (e) {
            var BootstrapModal = $('#myModal');

            SetModalHeader(BootstrapModal, e.parent().parent().find("h3").text());
            SetModalMainHtml(BootstrapModal, e.parent().parent().text());

            BootstrapModal.toggle();
        }

        SetModalHeader = function (BootstrapModal, header) {
            BootstrapModal.find(".modal-header").find("#myModalLabel").text(header);
        }

        SetModalMainHtml = function (BootstrapModal, html) {
            BootstrapModal.find(".modal-body").html(html);
        }

    </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">


    <div id="myModal" class="modal fade in" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="false" style="background-image: url('images/img-overlay.png');">
        <div class="modal-dialog">
            <div class="modal-content">

                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal"><span id="ModalClose" aria-hidden="true">×</span><span class="sr-only">Close</span></button>
                    <h4 class="modal-title" id="myModalLabel">Modal title</h4>
                </div>
                <div class="modal-body">
                </div>
                <div class="modal-footer">

                    <Bootstrap:BootstrapTextbox runat="server" LeftAddonText="Adınız : " />
                    <br />
                    <Bootstrap:BootstrapTextbox runat="server" LeftAddonText="Mail Adresiniz : " />
                    <br />
                    <Bootstrap:BootstrapTextbox ID="BootstrapTextbox1" runat="server" LeftAddonText="Yorumunuz : " />
                    <br />
                    <Bootstrap:BootstrapButton runat="server" Type="Info" Text="Kaydet" />

                </div>

            </div>
            <!-- /.modal-content -->
        </div>
        <!-- /.modal-dialog -->
    </div>

    <%-- <Bootstrap:BootstrapContainer runat="server" ID="left" style="width: 200px;  float: left ">
        <Bootstrap:BootstrapTab runat="server" TabType="PillAndStacked" ShowUnderLine="true">
            <TabList>
                <Bootstrap:BootstrapTabItem Text="c#" BadgedValue="10" />
                <Bootstrap:BootstrapTabItem Text="c#" BadgedValue="10" />
                <Bootstrap:BootstrapTabItem Text="c#" BadgedValue="10" />
                <Bootstrap:BootstrapTabItem Text="c#" BadgedValue="10" />
                <Bootstrap:BootstrapTabItem Text="c#" BadgedValue="10" />
                <Bootstrap:BootstrapTabItem Text="c#" BadgedValue="10" />

            </TabList>
        </Bootstrap:BootstrapTab>
    </Bootstrap:BootstrapContainer>--%>


    <Bootstrap:BootstrapContainer ID="deneme1" runat="server">

        <Bootstrap:BootstrapThumbnailContainer runat="server" ID="ThumbnailList">
        </Bootstrap:BootstrapThumbnailContainer>


        <%-- <Bootstrap:BootstrapButton ID="buttonDnm" runat="server" Size="Normal" Type="Danger" Text="AutoPostBack" AutoPostBack="true" />
            <Bootstrap:BootstrapButton ID="BootstrapButton2" runat="server" Size="Normal" Type="Info" Text="AutoPostBack" AutoPostBack="true" Active="true" />--%>

        <%--  <input type="hidden" id="deneme" name="deneme" />
        <Bootstrap:BootstrapDropDown runat="server" ID="Deneme">
            <InnerList>
                <Bootstrap:BootstrapItem Text="Google" />
                <Bootstrap:BootstrapItem Text="deneme" />
                <Bootstrap:BootstrapItem Text="deneme1" />
                <Bootstrap:BootstrapItem Text="deneme2" />
            </InnerList>
        </Bootstrap:BootstrapDropDown>
    
            <Bootstrap:BootstrapButton ID="buttonDnm" runat="server" Size="Normal" Type="Danger" Text="AutoPostBack" AutoPostBack="true" />
            <Bootstrap:BootstrapButton ID="BootstrapButton2" runat="server" Size="Normal" Type="Info" Text="AutoPostBack" AutoPostBack="true" Active="true" />

            <Bootstrap:BootstrapButton ID="BootstrapButton1" runat="server" Size="Large" Type="Success" Text="NotAutoPostBack" AutoPostBack="false" OnClientClick="javascript:alert('fatih')" />
            <Bootstrap:BootstrapImage runat="server" Alt="fatih" ImageSource="" ImageType="Circle" />
            <Bootstrap:BootstrapImage ID="BootstrapImage1" runat="server" Alt="fatih" ImageSource="" ImageType="Rounded" />
            <Bootstrap:BootstrapImage ID="BootstrapImage2" runat="server" Alt="fatih" ImageSource="" ImageType="Thumbnail" />
            <Bootstrap:BootstrapImage ID="BootstrapImage4" runat="server" Alt="fatih" />
            <Bootstrap:BootstrapImage ID="BootstrapImage3" runat="server" ImageSource="" />
     
        <asp:Button runat="server" ID="asd" Text="deneme" OnClientClick="alert(1)" />
        <asp:LinkButton runat="server" ID="asdfasd" Text="deneme1" OnClientClick="alert(1)"></asp:LinkButton>--%>
    </Bootstrap:BootstrapContainer>

</asp:Content>
